package indi.zhifa.recipe.bailan.framework.auth.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import indi.zhifa.recipe.bailan.framework.mysql.entity.po.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author 织法
 * @since 2022-12-16
 */
@Data
@TableName("sys_user")
@Schema(title = "BaseUserEntity对象", description = "用户表")
public class BaseUserEntity extends BaseEntity {

    protected BaseUserEntity(){

    }

    @Schema(title = "用户名")
    protected String name;

    @Schema(title = "密码")
    protected String password;

    @Schema(title = "过期时间")
    protected LocalDateTime expireTime;

    @Schema(title = "是否被禁用")
    protected Boolean ban;
}
